package genetic_algorithm;

/**
 * Interface for calculating fitness of a chromosome
 */
public interface FitnessFunction {

	/**
	 * Calculates fitness value of given chromosome (how good
	 * given chromosome is)
	 * @param chromosome chromosome to calculate its fitness
	 * @return fitness value of given chromosome
	 */
	public double getFitness(Chromosome chromosome);
}